
import Vue from 'vue'
import App from './App.vue'
import store from './store' //vuex
import ElementUI from 'element-ui'
import globalVariable from './common/global_variable.js.js' //全局变量
import router from './router/routers'
import './router/index' //路由

import './assets/styles/index.scss'
import 'element-ui/lib/theme-chalk/index.css' //主题--蓝色
import 'normalize.css/normalize.css' //优化css可用性

Vue.prototype.GLOBAL = globalVariable; //prototype 原型链

Vue.prototype.bus = new Vue();

Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app') //手动挂载到id为app的dom中的意思
